package com.xcity.pomelo.request;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

@PomeloMessage(route = PomeloRoute.SYSTEM_SETTINGS)
public class SystemSettingsRequest extends PomeloPacket {

	private int index; // 开关索引(0:音乐,1:音效)
	private byte val; // 开关值(0:关,1:开)
	
	public static final int MIN_INDEX = 0, MAX_INDEX = 1;
	public static final int DEFAULT_VALUE = 3; // 全开

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public byte getVal() {
		return val;
	}

	public void setVal(byte val) {
		this.val = val;
	}

}
